/*
 * Sensor.h
 *
 * Created on: 31-03-2014
 *     Author: A.W. Janisse
 */

#ifndef SUBJECT_H
#define SUBJECT_H

#include "Observer.h"
#include <vector>

using std::vector;

class Subject
{
    public:
        Subject();
        virtual ~Subject();
        virtual void attachObserver(Observer*);
    protected:
        virtual void notify();
        vector<Observer*> observers;
    private:

};

#endif // SUBJECT_H
